package ${basepackage}.model.criteria.op;

import java.util.Date;

import org.apache.ibatis.type.Alias;

import com.excalibur.core.model.BaseObject;

/**
 * @author "Jiance Qin"
 * 
 * @date 2014年2月24日
 * 
 * @time 下午12:00:07
 * 
 */
@Alias("authorityCriteria")
public class AuthorityCriteria extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8751177511046009799L;

	private Long id;
	private String name;
	private String displayName;
	private String sort;
	private String order;
	private Date startCreateTime;
	private Date endCreateTime;
	private Date startUpdateTime;
	private Date endUpdateTime;

	/**
	 * Default constructor - creates a new instance with no values set.
	 */
	public AuthorityCriteria() {
	}

	/**
	 * @return the sort
	 */
	public String getSort() {
		return sort;
	}

	/**
	 * @param sort
	 *            the sort to set
	 */
	public void setSort(String sort) {
		this.sort = sort;
	}

	/**
	 * @return the order
	 */
	public String getOrder() {
		return order;
	}

	/**
	 * @param order
	 *            the order to set
	 */
	public void setOrder(String order) {
		this.order = order;
	}

	/**
	 * Create a new instance and set the name.
	 * 
	 * @param name
	 *            name of the role.
	 */
	public AuthorityCriteria(final String name) {
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	/**
	 * @return the startCreateTime
	 */
	public Date getStartCreateTime() {
		return startCreateTime;
	}

	/**
	 * @param startCreateTime
	 *            the startCreateTime to set
	 */
	public void setStartCreateTime(Date startCreateTime) {
		this.startCreateTime = startCreateTime;
	}

	/**
	 * @return the endCreateTime
	 */
	public Date getEndCreateTime() {
		return endCreateTime;
	}

	/**
	 * @param endCreateTime
	 *            the endCreateTime to set
	 */
	public void setEndCreateTime(Date endCreateTime) {
		this.endCreateTime = endCreateTime;
	}

	/**
	 * @return the startUpdateTime
	 */
	public Date getStartUpdateTime() {
		return startUpdateTime;
	}

	/**
	 * @param startUpdateTime
	 *            the startUpdateTime to set
	 */
	public void setStartUpdateTime(Date startUpdateTime) {
		this.startUpdateTime = startUpdateTime;
	}

	/**
	 * @return the endUpdateTime
	 */
	public Date getEndUpdateTime() {
		return endUpdateTime;
	}

	/**
	 * @param endUpdateTime
	 *            the endUpdateTime to set
	 */
	public void setEndUpdateTime(Date endUpdateTime) {
		this.endUpdateTime = endUpdateTime;
	}

	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
